package com.yangwp.java.spider.weibo.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.yangwp.java.spider.weibo.model.Image;

@Repository
public interface ImageDao {

	int insert(Image image);
	
	int update(Image image);
	
	Image getImageById(Integer id);

    Integer countImage(Map<String, Object> params);

    List<Image> getImageList(Map<String, Object> params);
	
}